package cn.getech.data.development.model.res.confconnect;

import cn.getech.data.development.entity.TableRelationshipEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.List;

@ApiModel(description = "表和字段信息")
@Data
public class TableInfoFieldRes {
    private Integer id;
    @ApiModelProperty(value = "表名称")
    private String tableName;
    @ApiModelProperty(value = "表别名")
    private String tableAlias;
    @ApiModelProperty(value = "详情信息")
    private String desc;
    @ApiModelProperty(value = "1 内部离线元数据 2 内部实时元数据 3 外部元数据")
    private Integer tableType;
    private Integer sourceId;
    private Integer tableInfoId;

    @ApiModelProperty(value = "血缘")
    private List<TableRelationshipEntity> relationshipes;
}
